package com.appkubes.fintech.restful.application.rent.request.order;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @Author: Rongjie
 * @Date: 2020/1/9 22:50
 * @Description:
 */
@ApiModel("商品信息")
@Data
public class GoodsInfoVO {

    @NotNull(message = "商品标题不能为空")
    @ApiModelProperty("商品标题")
    @NotBlank(message = "商品标题不能为空")
    String goodsTitle;

    @ApiModelProperty("商品价格")
    @NotBlank(message = "商品价格不能为空")
    Integer goodsAmount;
}
